package com.fc.mall.model;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UmsMemberSign implements Serializable {
    /**
     * 主键
     *
     * @mbggenerated
     */
    private Long id;

    /**
     * 会员id
     *
     * @mbggenerated
     */
    private Long memberId;

    /**
     * 时间分隔
     *
     * @mbggenerated
     */
    private Integer division;

    /**
     * 积分
     *
     * @mbggenerated
     */
    private Integer point;

    /**
     * 签到记录
     *
     * @mbggenerated
     */
    private Long sign;

    /**
     * 连续签到次数
     *
     * @mbggenerated
     */
    private Integer signCont;

    /**
     * 签到次数
     *
     * @mbggenerated
     */
    private Integer signCount;

    private Date lastModifyTime;

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", memberId=").append(memberId);
        sb.append(", division=").append(division);
        sb.append(", point=").append(point);
        sb.append(", sign=").append(sign);
        sb.append(", signCont=").append(signCont);
        sb.append(", signCount=").append(signCount);
        sb.append(", lastModifyTime=").append(lastModifyTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}